package cn.mdmbct.douyin.data.service.interfaces;

import cn.mdmbct.douyin.data.response.user.*;
import cn.mdmbct.douyin.common.enums.ExternalDataApiDataType;
import cn.mdmbct.douyin.common.exception.ApiCallException;

/**
 * <a href="https://open.douyin.com/platform/doc/6848798450331486212">抖音OpenAPI 数据开放服务 用户数据</a>
 *
 * @author mdmbct  mdmbct@outlook.com
 * @date 2021/3/9 11:17
 * @modified mdmbct
 * @since 1.0
 */
public interface UserDataService {
    DataUserFansRes.DataUserFansResData getUserFansCount(String openId, ExternalDataApiDataType dataType) throws ApiCallException;

    DataUserLikeRes.DataUserLikeResData getUserLikeCount(String openId, ExternalDataApiDataType dataType) throws ApiCallException;

    DataUserCommentRes.DataUserCommentResData getUserCommentCount(String openId, ExternalDataApiDataType dataType) throws ApiCallException;

    DataUserShareRes.DataUserShareResData getUserShareCount(String openId, ExternalDataApiDataType dataType) throws ApiCallException;

    DataUserProfileRes.DataUserProfileResData getUserProfileCount(String openId, ExternalDataApiDataType dataType) throws ApiCallException;
}
